<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:custom="http://esellerpro.com/sms" xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/templates/template.xhtml">
    <ui:define name="menu">
        <p:menubar autoSubmenuDisplay="true">
            <p:menuitem value="Adimit " url="/pages/student/addOrUpdateStudent.jsf" ajax="false"  immediate=""/>
            <c:if test="#{custom:admin()}">
                <p:menuitem value="Chart" url="/test/pollChartLive.jsf" ajax="false"/>
       </c:if>
        </p:menubar>

    </ui:define>
</ui:composition>
</html>